stopbadbots_BillDiagnose\stopbadbots_Bill_Diagnose D

Total Complexity 267
Dependencies 3
Dependents 0
Total lines 2,374
Lines of code 1,921
Logical lines of code 890
Comment lines 356
Methods 26
Properties 7

Methods 26

Method Rating Maintainability Complexity Lines of code
list_errors()
D
7
78 517
count_error_types()
D
26
42 145
count_error_types_old()
D
29 36 122
site_health_tab_content()
C
22
18 276
__construct()
B
37 16 82
site_health_check_page_load_main()
A
35 11 108
add_site_health_link_to_admin_toolbar()
A
30 7 167
site_health_bots_and_hackers()
A
29 6 166
site_health_check_updates()
A
35 7 109
site_health_check_page_load()
S
46 5 41
convertToHumanReadableSize()
S
59 5 12
get_processed_files_count()
S
62 5 12
show_dismissible_notification()
S
52 4 26
get_plugin_slug()
S
54 4 21
print_error_summary()
S
50 3 33
has_updates_available()
S
65 4 8
getFileSizeInBytes()
S
63 4 10
enqueue_diagnose_scripts()
S
56 2 21
custom_help_tab()
S
60 2 14
get_instance()
S
70 2 6
setNotificationUrl()
S
81 1 3
setNotificationUrl2()
S
81 1 3
setPluginTextDomain()
S
81 1 3
setPluginSlug()
S
80 1 3
is_notification_displayed_today()
S
72 1 5
site_health_navigation_tabs()
S
68 1 8